<template>
  <div id="app">
    <RouterView />
  </div>
</template>

<script>
import { onMounted } from 'vue';
import { useRouter } from 'vue-router'; 

export default {
  name: 'App',
  setup() {
    const router = useRouter();
    onMounted(() => {
      router.push('/login');
    });
  },
}
</script>

<style lang="less" scoped>
</style>